package com.android.tiango.baba.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 用户模型
 * 
 * @author txg
 */
public class UserModel implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String userId;
	private String nickName;
	private String mobileNumber;
	private int openType; // 0-未知 1-手机号 2-新浪微博 3-腾讯微博
	private String avatarUrl;
	private String birthday;
	private int gender;// 0-未设置 1-男 2-女
	private int userLevel;// 用户等级
	private int integral;// 积分
	private int tgoCurrency;// 天购币
	private String token;// 登录过期控制，包括过期时间，用户基本信息
	private ArrayList<UserTagModel> userTags;
	private String userRole;// 用户角色名称
	private ArrayList<UserRightModel> userRights;// 用户权限列表
	private String QQOpenId;
	private String QQAccessToken;
	private String sinaOpenId;
	private String sinaAccessToken;
	private String email;
	

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getMobileNumber() {
		return mobileNumber;
	}

	public void setMobileNumber(String mobileNumber) {
		this.mobileNumber = mobileNumber;
	}

	public int getOpenType() {
		return openType;
	}

	public void setOpenType(int openType) {
		this.openType = openType;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public int getUserLevel() {
		return userLevel;
	}

	public void setUserLevel(int userLevel) {
		this.userLevel = userLevel;
	}

	public int getIntegral() {
		return integral;
	}

	public void setIntegral(int integral) {
		this.integral = integral;
	}

	public int getTgoCurrency() {
		return tgoCurrency;
	}

	public void setTgoCurrency(int tgoCurrency) {
		this.tgoCurrency = tgoCurrency;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
 

	public String getUserRole() {
		return userRole;
	}

	public void setUserRole(String userRole) {
		this.userRole = userRole;
	} 
  
 

	public ArrayList<UserTagModel> getUserTags() {
		return userTags;
	}

	public void setUserTags(ArrayList<UserTagModel> userTags) {
		this.userTags = userTags;
	}

	public ArrayList<UserRightModel> getUserRights() {
		return userRights;
	}

	public void setUserRights(ArrayList<UserRightModel> userRights) {
		this.userRights = userRights;
	}

	public String getQQOpenId() {
		return QQOpenId;
	}

	public void setQQOpenId(String qQOpenId) {
		QQOpenId = qQOpenId;
	}

	public String getQQAccessToken() {
		return QQAccessToken;
	}

	public void setQQAccessToken(String qQAccessToken) {
		QQAccessToken = qQAccessToken;
	}

	public String getSinaOpenId() {
		return sinaOpenId;
	}

	public void setSinaOpenId(String sinaOpenId) {
		this.sinaOpenId = sinaOpenId;
	}

	public String getSinaAccessToken() {
		return sinaAccessToken;
	}

	public void setSinaAccessToken(String sinaAccessToken) {
		this.sinaAccessToken = sinaAccessToken;
	}

}
